Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
AddUserInformation(Byte,Byte[]) Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class > AddUserInformation Method : AddUserInformation(Byte,Byte[]) Method




type
Type of the User-defined item.
data
Buffer that contains the data for the User-defined item.
Appends a User-defined item to the DICOM Associate.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub AddUserInformation( _
   ByVal type As Byte, _
   ByVal data() As Byte _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim type As Byte
Dim data() As Byte
 
instance.AddUserInformation(type, data)
C# 
public void AddUserInformation( 
   byte type,
   byte[] data
)
Managed Extensions for C++ 
public: void AddUserInformation( 
   byte type,
   byte[] data
) 
C++/CLI 
public:
void AddUserInformation( 
   byte type,
   array<byte> data
) 

Parameters

type
Type of the User-defined item.
data
Buffer that contains the data for the User-defined item.

Example

For an exmple, refer to IsRoleSelect.

Remarks

User-defined items may be included in the DICOM Associate to provide any other data the user finds necessary when establishing a DICOM Associate connection. The basic structure of the User-defined item is

where the Type, Length and User Data are all determined by the user. The values shown are the lengths, in bytes, of the elements of the User-defined item.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features